# Created by Monad Kai, all rights reserved.
#  _   _ ____  _____ _  __    ____        _                         _            
# | | | |  _ \|  ___| |/ /   | __ )  __ _(_)_ __ ___  _ __   __ _  (_)_ __   ___ 
# | |_| | | | | |_  | ' /    |  _ \ / _` | | '__/ _ \| '_ \ / _` | | | '_ \ / __|
# |  _  | |_| |  _| | . \ _  | |_) | (_| | | | | (_) | | | | (_| |_| | | | | (__ 
# |_| |_|____/|_|   |_|\_( ) |____/ \__,_|_|_|  \___/|_| |_|\__, (_)_|_| |_|\___|
#                        |/                                 |___/                


def predict_tree_0(d):
    if d['ir_allmatch_days'] > 30.500000000000004:
        if d['ql_m12_id_orgnum'] > 0.33385000000000004:
            return -1.9840176031555403
        else:
            return -2.0094290027351915
    else:
        if d['als_m3_cell_bank_selfnum'] <= 1.0000000180025095e-35:
            return -1.991620064656853
        else:
            return -2.0241283428643566


def predict_tree_1(d):
    if d['als_m12_cell_bank_selfnum'] <= 1.0000000180025095e-35:
        if d['alf_ict_lenth_d360_sum'] > 23.0109795:
            return 0.04220072732488499
        else:
            return 0.007808251889179707
    else:
        if d['alf_apirisk_time_slope_all_mean'] > 1.0000000180025095e-35:
            return 0.009977175166585282
        else:
            return -0.009177254991367286


def predict_tree_2(d):
    if d['als_m12_cell_bank_selfnum'] <= 1.0000000180025095e-35:
        if d['alf_ict_lenth_d180_sum'] > 13.516090500000002:
            return 0.04153597904525275
        else:
            return 0.009302512066351942
    else:
        if d['alf_apirisk_time_slope_all_mean'] > 1.0000000180025095e-35:
            return 0.009681488843118575
        else:
            return -0.00903521410036259


def predict_tree_3(d):
    if d['als_m12_cell_bank_selfnum'] <= 1.0000000180025095e-35:
        if d['als_m12_id_caon_allnum'] > 1.0000000180025095e-35:
            return 0.042712544335202114
        else:
            return 0.008851480963073212
    else:
        if d['als_lst_id_bank_inteday'] <= 36.50000000000001:
            return -0.02149821961082481
        else:
            return -0.0025316203271492613


def predict_tree_4(d):
    if d['als_lst_id_bank_inteday'] > 36.50000000000001:
        return 0.01695791058355928
    else:
        if d['als_m6_cell_bank_selfnum'] <= 1.0000000180025095e-35:
            return 0.024009541298052193
        else:
            if d['als_m6_cell_bank_selfnum'] <= 1.5000000000000002:
                return -0.02408112274702897
            else:
                return -0.0041883406338406965


def predict_tree_5(d):
    if d['ir_allmatch_days'] > 30.500000000000004:
        if d['alf_apirisk_time_lenth_all_sum'] > 47.602463500000006:
            return 0.035009699131478604
        else:
            return 0.005229547497516204
    else:
        if d['als_m6_cell_bank_selfnum'] <= 1.0000000180025095e-35:
            return 0.017870439133449604
        else:
            return -0.013489511702324382


def predict_tree_6(d):
    if d['ir_allmatch_days'] > 30.500000000000004:
        if d['alf_count_cell'] <= 1.5000000000000002:
            return 0.0012479448729133733
        else:
            return 0.02617376254631323
    else:
        if d['als_m3_id_bank_selfnum'] <= 1.0000000180025095e-35:
            return 0.014327006373628206
        else:
            return -0.013233726274985877


def predict_tree_7(d):
    if d['alf_ict_lenth_all_sum'] > 23.0109795:
        if d['als_m3_id_bank_selfnum'] > 1.0000000180025095e-35:
            return -0.023203547274500226
        else:
            if d['pd_id_apply_age'] > 31.500000000000004:
                return 0.03273431119954272
            else:
                return 0.0036558100120093287
    else:
        return -0.007720525682062616


def predict_tree_8(d):
    if d['alf_ict_lenth_all_sum'] > 23.0109795:
        if d['als_m3_id_bank_selfnum'] > 1.0000000180025095e-35:
            return -0.023104034565696093
        else:
            if d['pd_id_apply_age'] > 31.500000000000004:
                return 0.031236219099070782
            else:
                return 0.0035651361583851513
    else:
        return -0.007592635216711694


def predict_tree_9(d):
    if d['als_lst_cell_bank_inteday'] > 34.50000000000001:
        return 0.0156444724319341
    else:
        if d['als_m3_cell_bank_selfnum'] > 1.0000000180025095e-35:
            return -0.02301611135052744
        else:
            if d['pd_id_gender'] > 1.0000000180025095e-35:
                return 0.005698755133721846
            else:
                return -0.010981810950691222


def predict_tree_10(d):
    if d['als_m12_cell_bank_selfnum'] <= 1.0000000180025095e-35:
        if d['als_m12_id_caon_allnum'] > 1.0000000180025095e-35:
            return 0.034253641733012485
        else:
            return 0.006283862838419345
    else:
        if d['als_lst_cell_bank_inteday'] > 67.50000000000001:
            return 0.06817299730774165
        else:
            return -0.006292354170524404


def predict_tree_11(d):
    if d['als_m12_cell_bank_selfnum'] <= 1.0000000180025095e-35:
        return 0.013684637766996417
    else:
        if d['als_lst_cell_bank_inteday'] > 67.50000000000001:
            return 0.0640728099223725
        else:
            if d['als_m3_cell_bank_selfnum'] > 1.0000000180025095e-35:
                return -0.022341621186158407
            else:
                return -0.0032795752868573034


def predict_tree_12(d):
    if d['als_lst_id_bank_inteday'] > 36.50000000000001:
        if d['alf_apirisk_time_lenth_all_sum'] > 47.602463500000006:
            return 0.036057993048778894
        else:
            return 0.006670045618703407
    else:
        if d['als_m12_cell_bank_selfnum'] > 1.0000000180025095e-35:
            return -0.021467901334276163
        else:
            return -0.0019630047501827015


def predict_tree_13(d):
    if d['pd_id_gender'] > 1.0000000180025095e-35:
        if d['als_m6_cell_bank_selfnum'] <= 1.0000000180025095e-35:
            return 0.03124081630464715
        else:
            if d['als_m3_cell_bank_selfnum'] <= 1.5000000000000002:
                return -0.02113003159758158
            else:
                return 0.005999986876374678
    else:
        return -0.008002595530866276


def predict_tree_14(d):
    if d['als_lst_id_bank_inteday'] > 36.50000000000001:
        if d['alf_apirisk_time_lenth_all_sum'] > 47.602463500000006:
            return 0.03396977949673623
        else:
            return 0.006366117829954446
    else:
        if d['als_m3_id_bank_selfnum'] > 1.0000000180025095e-35:
            return -0.021972602622884967
        else:
            return -0.0018360180288870458


def predict_tree_15(d):
    if d['ir_allmatch_days'] > 30.500000000000004:
        if d['alf_apirisk_time_lenth_all_sum'] > 47.602463500000006:
            return 0.027102497787275547
        else:
            return 0.0029261640818839915
    else:
        if d['ql_m12_id_bank_allnum'] > 0.91:
            return 0.04094369883126416
        else:
            return -0.01126835693897087


def predict_tree_16(d):
    if d['ir_allmatch_days'] > 30.500000000000004:
        if d['alf_apirisk_time_slope_all_sum'] > 0.40454550000000006:
            return 0.026098209894690038
        else:
            return 0.0029564845879775283
    else:
        if d['ql_m12_id_bank_allnum_d'] > 0.91:
            return 0.03911946138358111
        else:
            return -0.011113750629854077


def predict_tree_17(d):
    if d['alf_apirisk_time_lenth_all_sum'] > 21.059856500000002:
        if d['als_m3_cell_bank_selfnum'] > 1.0000000180025095e-35:
            return -0.0214880842073025
        else:
            if d['pd_id_apply_age'] > 31.500000000000004:
                return 0.023696658168812692
            else:
                return -0.00013797129898797278
    else:
        return -0.0066424901002959695


def predict_tree_18(d):
    if d['alf_apirisk_time_lenth_all_sum'] > 21.059856500000002:
        if d['als_m3_id_bank_selfnum'] > 1.0000000180025095e-35:
            return -0.02137616682335635
        else:
            if d['pd_id_apply_age'] > 31.500000000000004:
                return 0.02640451064833269
            else:
                return 0
    else:
        return -0.005866646481054723


def predict_tree_19(d):
    if d['alf_ict_lenth_all_sum'] > 23.0109795:
        if d['als_m3_id_bank_selfnum'] > 1.0000000180025095e-35:
            return -0.021028648585259397
        else:
            if d['ir_allmatch_days'] <= 614.5000000000001:
                return 0.021124205776351858
            else:
                return 0.0004183815771678348
    else:
        return -0.0054035792718860245


def predict_tree_20(d):
    if d['pd_id_gender'] > 1.0000000180025095e-35:
        if d['als_m3_id_bank_selfnum'] > 1.0000000180025095e-35:
            return -0.019599029072777618
        else:
            if d['als_m6_id_min_inteday'] <= 86.50000000000001:
                return 0.03693474799737432
            else:
                return 0.006342416245824282
    else:
        return -0.008169851243396534


def predict_tree_21(d):
    if d['ir_allmatch_days'] > 30.500000000000004:
        if d['alf_ict_lenth_d360_sum'] > 23.0109795:
            if d['alf_apirisk_time_slope_all_mean'] > -0.03904549999999999:
                return 0.047394107537646016
            else:
                return 0.006549125644130471
        else:
            return 0.0021807932871125047
    else:
        return -0.00945562206543359


def predict_tree_22(d):
    if d['ir_allmatch_days'] > 30.500000000000004:
        if d['alf_apirisk_time_slope_all_sum'] > 0.40454550000000006:
            if d['tl_id_t2_nbank_reamt'] > 3.5000000000000004:
                return 0.04664886995466045
            else:
                return 0.008626390165043157
        else:
            return 0.0012271399885487627
    else:
        return -0.009312930354202909


def predict_tree_23(d):
    if d['alf_apirisk_time_slope_all_sum'] > 0.40454550000000006:
        return 0.01623445216080305
    else:
        if d['als_lst_cell_bank_inteday'] > 34.50000000000001:
            if d['alf_count_cell'] > 1.5000000000000002:
                return 0.024188331496200498
            else:
                return 0.0007245562897258955
        else:
            return -0.007546801878417533


def predict_tree_24(d):
    if d['ir_allmatch_days'] > 30.500000000000004:
        if d['als_m12_id_caon_allnum'] <= 4.500000000000001:
            return 0.02142807056052855
        else:
            return 0.004196318854011459
    else:
        if d['ql_m12_id_bank_allnum'] > 0.9359000000000001:
            return 0.04525738991877601
        else:
            return -0.008690870490988656


def predict_tree_25(d):
    if d['als_m3_id_bank_selfnum'] > 1.0000000180025095e-35:
        return -0.019982699595636887
    else:
        if d['alf_ict_lenth_all_sum'] > 23.0109795:
            return 0.014017780365235424
        else:
            if d['pd_id_gender'] > 1.0000000180025095e-35:
                return 0.0034595713602449587
            else:
                return -0.010850991354914194


def predict_tree_26(d):
    if d['als_m3_id_bank_selfnum'] > 1.0000000180025095e-35:
        return -0.01986319567738184
    else:
        if d['alf_ict_lenth_d360_sum'] > 23.0109795:
            return 0.023295626422093988
        else:
            if d['alf_apirisk_time_slope_all_mean'] > -0.6279219999999999:
                return 0.0052286958636547825
            else:
                return -0.0065743469217825696


def predict_tree_27(d):
    if d['pd_id_gender'] > 1.0000000180025095e-35:
        if d['als_m3_id_bank_selfnum'] > 1.0000000180025095e-35:
            return -0.018722648222871185
        else:
            if d['alf_ict_lenth_d180_sum'] > 12.026445:
                return 0.02944859745297091
            else:
                return 0.004470699066508838
    else:
        return -0.008399924337447223


def predict_tree_28(d):
    if d['ir_allmatch_days'] > 30.500000000000004:
        if d['alf_ict_lenth_d180_sum'] > 13.516090500000002:
            return 0.02879569063728175
        else:
            if d['pd_id_apply_age'] > 29.500000000000004:
                return 0.007610502224839691
            else:
                return -0.007781639177528983
    else:
        return -0.008669207105903139


def predict_tree_29(d):
    if d['pd_id_gender'] > 1.0000000180025095e-35:
        if d['als_m3_id_bank_selfnum'] > 1.0000000180025095e-35:
            return -0.01856740117524848
        else:
            if d['alf_apirisk_time_slope_all_mean'] > -0.6279219999999999:
                return 0.016318177331973997
            else:
                return -0.0032223626737366436
    else:
        return -0.008256401078180492


def predict_tree_30(d):
    if d['pd_id_gender'] > 1.0000000180025095e-35:
        if d['alf_apirisk_time_slope_all_sum'] > 1.0000000180025095e-35:
            if d['pd_cell_city_level'] > 2.5000000000000004:
                return 0.037582006281775396
            else:
                return 0.007608334299859583
        else:
            return 0.0010274360391091253
    else:
        return -0.006988149640131968


def predict_tree_31(d):
    if d['als_lst_id_bank_inteday'] > 36.50000000000001:
        return 0.010229418456903552
    else:
        if d['als_m3_cell_bank_selfnum'] > 1.0000000180025095e-35:
            return -0.021042949840637294
        else:
            if d['alf_apirisk_time_lenth_all_sum'] > 17.196564500000004:
                return 0.010040694289042782
            else:
                return -0.006289083215861309


def predict_tree_32(d):
    if d['ir_allmatch_days'] > 16.500000000000004:
        if d['pd_cell_city_level'] > 2.5000000000000004:
            if d['pd_id_city_rent_sort'] <= 300.50000000000006:
                return 0.00644308113266496
            else:
                return 0.02927979631512344
        else:
            return -0.00028483271551362236
    else:
        return -0.007495058859887463


def predict_tree_33(d):
    if d['als_m3_cell_bank_selfnum'] > 1.0000000180025095e-35:
        return -0.019337089073322603
    else:
        if d['alf_ict_lenth_all_sum'] > 23.0109795:
            if d['pd_id_apply_age'] > 31.500000000000004:
                return 0.01990075043857161
            else:
                return -0.0036498381710189584
        else:
            return -0.0033409997067003322


def predict_tree_34(d):
    if d['als_m3_id_bank_selfnum'] > 1.0000000180025095e-35:
        return -0.019234108367740973
    else:
        if d['alf_apirisk_time_lenth_all_sum'] > 21.059856500000002:
            if d['pd_id_apply_age'] > 31.500000000000004:
                return 0.01882020514533268
            else:
                return -0.0030631462325049646
        else:
            return -0.003925620079756546


def predict_tree_35(d):
    if d['als_m3_cell_bank_selfnum'] > 1.0000000180025095e-35:
        return -0.019096597386808398
    else:
        if d['alf_ict_lenth_all_sum'] > 23.0109795:
            if d['pd_id_apply_age'] > 31.500000000000004:
                return 0.01855305284908669
            else:
                return -0.0035175097383593587
        else:
            return -0.0032123917554708645


def predict_tree_36(d):
    if d['ir_allmatch_days'] > 16.500000000000004:
        if d['als_m12_id_caon_allnum'] <= 4.500000000000001:
            return 0.01848563438148716
        else:
            return 0.00183431341035331
    else:
        if d['ql_m12_id_max_monnum'] > 0.64875:
            return 0.028648271187039203
        else:
            return -0.008953308336892035


def predict_tree_37(d):
    if d['ql_m12_id_orgnum'] > 0.33385000000000004:
        if d['als_m3_cell_bank_selfnum'] > 1.0000000180025095e-35:
            return -0.020508515689969305
        else:
            if d['als_m12_cell_bank_tra_orgnum'] > 3.5000000000000004:
                return 0.056061830308275246
            else:
                return 0.011097376925436803
    else:
        return -0.003864651961654859


def predict_tree_38(d):
    if d['pd_id_gender'] > 1.0000000180025095e-35:
        if d['als_m3_id_bank_selfnum'] > 1.0000000180025095e-35:
            return -0.019381426379122015
        else:
            if d['als_m6_id_min_inteday'] <= 35.50000000000001:
                return 0.03308006581874524
            else:
                return 0.004443484576412877
    else:
        return -0.006636457285298947


def predict_tree_39(d):
    if d['ir_allmatch_days'] > 30.500000000000004:
        if d['alf_apirisk_time_slope_all_sum'] > 0.40454550000000006:
            if d['als_m12_cell_nbank_max_inteday'] <= 137.50000000000003:
                return 0.05201323209580396
            else:
                return 0.012474823803937994
        else:
            return 0.0026549710750239774
    else:
        return -0.008004953243313458


def predict_tree_40(d):
    if d['als_m3_id_bank_selfnum'] > 1.0000000180025095e-35:
        return -0.019817123261732926
    else:
        if d['alf_apirisk_time_slope_all_mean'] > -0.6279219999999999:
            if d['pd_id_gender'] > 1.0000000180025095e-35:
                return 0.013880505322116491
            else:
                return -0.0015560550240853596
        else:
            return -0.007104144923630871


def predict_tree_41(d):
    if d['als_m3_cell_bank_selfnum'] > 1.0000000180025095e-35:
        return -0.01967584667409134
    else:
        if d['alf_apirisk_time_slope_all_mean'] > -0.6279219999999999:
            if d['pd_id_city_rent_sort'] <= 301.50000000000006:
                return 0.0038685018263359037
            else:
                return 0.01826481777908622
        else:
            return -0.006996627905777228


def predict_tree_42(d):
    if d['ir_allmatch_days'] > 30.500000000000004:
        if d['pd_cell_city_level'] > 2.5000000000000004:
            if d['alf_ict_lenth_d180_sum'] > 13.516090500000002:
                return 0.03623566238222869
            else:
                return 0.008428315492459785
        else:
            return -0.001778612617040363
    else:
        return -0.0071896172778251975


def predict_tree_43(d):
    if d['alf_apirisk_time_slope_all_sum'] > 0.40454550000000006:
        if d['als_m12_cell_nbank_max_inteday'] <= 137.50000000000003:
            return 0.05295732699660887
        else:
            return 0.006213952906919951
    else:
        if d['pd_id_city_rent_sort'] > 301.50000000000006:
            return 0.007553922091681463
        else:
            return -0.006126968435427126


def predict_tree_44(d):
    if d['pd_id_city_rent_sort'] <= 301.50000000000006:
        if d['alf_apirisk_time_lenth_all_sum'] > 47.602463500000006:
            return 0.008285120777764199
        else:
            return -0.006187569859101492
    else:
        if d['cf_prob_max'] > 0.8021000000000001:
            return 0.023488961593364353
        else:
            return 0


def predict_tree_45(d):
    if d['pd_id_city_new_house_sort'] > 314.50000000000006:
        if d['cf_prob_max'] > 0.8678000000000001:
            return 0.036213325809630194
        else:
            return 0.004514205032618911
    else:
        if d['ir_allmatch_days'] > 16.500000000000004:
            return 0.0021513058621085604
        else:
            return -0.008817989283812278


def predict_tree_46(d):
    if d['pd_id_city_rent_sort'] > 301.50000000000006:
        return 0.009852348264218633
    else:
        if d['alf_ict_lenth_all_sum'] > 23.0109795:
            if d['als_m3_id_bank_selfnum'] > 1.0000000180025095e-35:
                return -0.018525005513147792
            else:
                return 0.006261217397046113
        else:
            return -0.0076509479997904336


def predict_tree_47(d):
    if d['pd_id_city_rent_sort'] > 301.50000000000006:
        if d['cf_prob_cell'] > 0.7910500000000001:
            return 0.02286859382350935
        else:
            return 0.002541419128547561
    else:
        if d['als_m12_cell_bank_tra_orgnum'] > 3.5000000000000004:
            return 0.0353790626138592
        else:
            return -0.0040206465368452


def predict_tree_48(d):
    if d['ir_allmatch_days'] > 30.500000000000004:
        if d['alf_ict_lenth_d180_sum'] > 13.516090500000002:
            return 0.02067733999420982
        else:
            return 0.0015225744870123721
    else:
        if d['als_m6_cell_bank_selfnum'] <= 1.0000000180025095e-35:
            return 0.010033672468899777
        else:
            return -0.009394990133386938


def predict_tree_49(d):
    if d['als_m6_cell_bank_selfnum'] > 1.0000000180025095e-35:
        return -0.01751155893592003
    else:
        if d['alf_ict_lenth_d360_sum'] > 23.0109795:
            return 0.015091416782667181
        else:
            if d['pd_id_apply_age'] > 31.500000000000004:
                return 0.0021627630754017667
            else:
                return -0.007755466365369054


def predict_tree_50(d):
    if d['pd_id_gender'] > 1.0000000180025095e-35:
        if d['als_m3_cell_bank_selfnum'] > 1.0000000180025095e-35:
            return -0.01862750280091077
        else:
            if d['als_m6_id_min_inteday'] <= 35.50000000000001:
                return 0.026661974491326637
            else:
                return 0.0045951596991949
    else:
        return -0.008000631534787766


def predict_tree_51(d):
    if d['pd_id_gender'] > 1.0000000180025095e-35:
        if d['als_m3_id_bank_selfnum'] > 1.0000000180025095e-35:
            return -0.017061294123773954
        else:
            if d['ql_m12_id_orgnum'] > 0.33385000000000004:
                return 0.01648938939331726
            else:
                return 0.0018439978149597267
    else:
        return -0.006700882642153361


def predict_tree_52(d):
    if d['pd_id_gender'] > 1.0000000180025095e-35:
        if d['als_m3_id_bank_selfnum'] > 1.0000000180025095e-35:
            return -0.016932408942966114
        else:
            if d['alf_apirisk_time_slope_all_sum'] > -1.7899999999999998:
                return 0.012029446869543612
            else:
                return -0.0009588034132550493
    else:
        return -0.006584704756057483


def predict_tree_53(d):
    if d['als_m3_id_bank_selfnum'] > 1.0000000180025095e-35:
        return -0.018884107373820697
    else:
        if d['alf_apirisk_time_lenth_all_sum'] > 21.059856500000002:
            if d['ql_m12_id_bank_national_allnum'] > 0.9013500000000001:
                return 0.03100385620060587
            else:
                return 0.006693563011633786
        else:
            return -0.0037023003445774442


def predict_tree_54(d):
    if d['pd_id_gender'] > 1.0000000180025095e-35:
        if d['pd_id_city_rent_sort'] <= 301.50000000000006:
            return 0
        else:
            return 0.01730751961237262
    else:
        if d['cf_prob_min'] <= 0.8824000000000002:
            return 0.0027618036112850245
        else:
            return -0.011494168157347929


def predict_tree_55(d):
    if d['pd_id_gender'] > 1.0000000180025095e-35:
        if d['als_m3_cell_bank_selfnum'] > 1.0000000180025095e-35:
            return -0.01710341451025396
        else:
            if d['ql_m12_id_bank_national_allnum'] > 0.9013500000000001:
                return 0.03786499731863542
            else:
                return 0.004581723840137374
    else:
        return -0.006361765808111018


def predict_tree_56(d):
    if d['ir_allmatch_days'] > 30.500000000000004:
        if d['pd_id_apply_age'] > 31.500000000000004:
            return 0.009268436115140572
        else:
            if d['ql_m12_id_bank_national_allnum'] > 1.0000000180025095e-35:
                return 0.00943972542312181
            else:
                return -0.010814114692385468
    else:
        return -0.0069378853849346896


def predict_tree_57(d):
    if d['ir_allmatch_days'] > 30.500000000000004:
        if d['pd_cell_city_level'] > 2.5000000000000004:
            if d['mma_var345'] > 4.500000000000001:
                return 0.037996100930028524
            else:
                return 0.009186444992918201
        else:
            return 0.0003046466261541235
    else:
        return -0.006254165557057334


def predict_tree_58(d):
    if d['ir_allmatch_days'] > 30.500000000000004:
        if d['alf_count_cell'] <= 1.5000000000000002:
            return 0.0017609822816983187
        else:
            return 0.014146567422067394
    else:
        if d['pd_id_city_new_house_sort'] > 314.50000000000006:
            return 0.014489306266133185
        else:
            return -0.008354284707235917


def predict_tree_59(d):
    if d['pd_id_city_new_house_sort'] <= 314.50000000000006:
        if d['alf_ict_lenth_all_sum'] > 23.0109795:
            return 0.005274512554202239
        else:
            return -0.005161780383358715
    else:
        if d['cf_prob_max'] > 0.8526000000000001:
            return 0.03547174078406194
        else:
            return 0.0013333159141794178


def predict_tree_60(d):
    if d['alf_apirisk_time_slope_all_sum'] > 0.40454550000000006:
        return 0.011498998418744768
    else:
        if d['als_m3_id_bank_selfnum'] > 1.0000000180025095e-35:
            return -0.018026606067752013
        else:
            if d['als_m12_cell_bank_selfnum'] > 1.0000000180025095e-35:
                return 0.051292335342526696
            else:
                return -0.0015723309614753705


def predict_tree_61(d):
    if d['ir_allmatch_days'] > 16.500000000000004:
        if d['alf_apirisk_time_slope_all_sum'] > 0.6013635:
            if d['ir_allmatch_days'] > 193.50000000000003:
                return -0.004184222101923331
            else:
                return 0.02931340960537741
        else:
            return 0.001761181979093557
    else:
        return -0.00682218770563165


def predict_tree_62(d):
    if d['pd_id_city_rent_sort'] <= 301.50000000000006:
        if d['tl_id_t4_nbank_reamt'] > 38.50000000000001:
            return 0.04291755136857888
        else:
            return -0.0032715389816446866
    else:
        if d['cf_prob_max'] > 0.8021000000000001:
            return 0.019727319794275562
        else:
            return -0.00020770852841438427


def predict_tree_63(d):
    if d['als_m3_id_bank_selfnum'] > 1.0000000180025095e-35:
        return -0.020862807071899515
    else:
        if d['pd_id_gender'] > 1.0000000180025095e-35:
            if d['alf_apirisk_time_slope_all_sum'] > -1.7899999999999998:
                return 0.011791433814844966
            else:
                return -0.0015873710080689678
        else:
            return -0.00665756764285868


def predict_tree_64(d):
    if d['als_m3_cell_bank_selfnum'] > 1.0000000180025095e-35:
        return -0.020762599193959088
    else:
        if d['pd_id_gender'] > 1.0000000180025095e-35:
            return 0.0061688784455972085
        else:
            if d['mma_var345'] > 4.500000000000001:
                return 0.013215772044952789
            else:
                return -0.010664031827453657


def predict_tree_65(d):
    if d['pd_id_city_rent_sort'] <= 301.50000000000006:
        if d['pd_id_apply_age'] > 27.500000000000004:
            if d['alf_apirisk_time_slope_all_sum'] > 0.6013635:
                return 0.013573543686750183
            else:
                return -0.003808169373991434
        else:
            return -0.016067905329033273
    else:
        return 0.009586246018041316


def predict_tree_66(d):
    if d['als_m3_id_bank_selfnum'] > 1.0000000180025095e-35:
        return -0.016301046747679637
    else:
        if d['alf_ict_lenth_d180_sum'] > 15.105551500000002:
            if d['als_lst_cell_bank_inteday'] <= 261.50000000000006:
                return 0.024205457137636364
            else:
                return -0.007620969647064375
        else:
            return 0


def predict_tree_67(d):
    if d['ir_allmatch_days'] > 16.500000000000004:
        if d['pd_cell_city_level'] > 2.5000000000000004:
            if d['tl_id_t4_nbank_reamt'] <= 38.50000000000001:
                return 0.00205258325834472
            else:
                return 0.018102171150195506
        else:
            return -0.0010526717026303734
    else:
        return -0.006997484342999531


def predict_tree_68(d):
    if d['ir_allmatch_days'] > 16.500000000000004:
        if d['pd_cell_city_level'] > 2.5000000000000004:
            if d['tl_id_t4_nbank_reamt'] <= 38.50000000000001:
                return 0.002004424521158871
            else:
                return 0.01747688466108355
        else:
            return -0.0010298675722767818
    else:
        return -0.006879562707831065


def predict_tree_69(d):
    if d['ql_m12_id_bank_national_allnum'] > 1.0000000180025095e-35:
        if d['als_m1_id_bank_selfnum'] > 1.0000000180025095e-35:
            return -0.020243151782019426
        else:
            return 0.008060139137840932
    else:
        if d['pd_id_city_rent_sort'] > 301.50000000000006:
            return 0.005091147716280929
        else:
            return -0.0062416920817726295


def predict_tree_70(d):
    if d['als_m6_id_min_inteday'] <= 35.50000000000001:
        if d['alf_apirisk_time_slope_all_sum'] > 0.6013635:
            return 0.028833058729422278
        else:
            return 0.0041981300515299205
    else:
        if d['tl_id_t2_nbank_reamt'] > 36.50000000000001:
            return 0.031205227404120673
        else:
            return -0.0027934767938838506


def predict_tree_71(d):
    if d['als_m3_id_bank_selfnum'] > 1.0000000180025095e-35:
        return -0.017206831680276855
    else:
        if d['alf_ict_lenth_all_sum'] > 23.0109795:
            if d['pd_id_apply_age'] > 31.500000000000004:
                return 0.011365603838240885
            else:
                return -0.0018448102818323718
        else:
            return -0.0030092755549457574


def predict_tree_72(d):
    if d['pd_id_gender'] > 1.0000000180025095e-35:
        if d['pd_cell_city_level'] > 2.5000000000000004:
            return 0.012105142904562492
        else:
            return -0.0009944143992123107
    else:
        if d['ql_m12_id_bank_allnum'] <= 0.5164000000000001:
            return 0.007601844060216833
        else:
            return -0.009407671093249343


def predict_tree_73(d):
    if d['als_m3_id_bank_selfnum'] > 1.0000000180025095e-35:
        return -0.016216156035805684
    else:
        if d['alf_apirisk_time_slope_all_mean'] > -0.6279219999999999:
            if d['als_m12_cell_bank_tra_orgnum'] > 3.5000000000000004:
                return 0.03993299365318722
            else:
                return 0.005039595039925276
        else:
            return -0.005279189947574025


def predict_tree_74(d):
    if d['alf_apirisk_time_lenth_all_sum'] > 47.602463500000006:
        if d['als_m3_id_bank_selfnum'] > 1.0000000180025095e-35:
            return -0.014093961690324144
        else:
            if d['pd_id_apply_age'] > 33.50000000000001:
                return 0.02560772588695823
            else:
                return 0.002686172143828569
    else:
        return -0.00161371947393676


def predict_tree_75(d):
    if d['alf_apirisk_time_slope_all_mean'] > -0.6279219999999999:
        if d['als_m1_id_bank_selfnum'] > 1.0000000180025095e-35:
            return -0.01987162555335537
        else:
            if d['pd_cell_city_level'] > 2.5000000000000004:
                return 0.012886106746994575
            else:
                return 0.0013451212017219305
    else:
        return -0.006553778230110587


def predict_tree_76(d):
    if d['ir_allmatch_days'] > 30.500000000000004:
        if d['pd_cell_city_level'] > 2.5000000000000004:
            return 0.012753980000707982
        else:
            return -0.0008222303594824857
    else:
        if d['ql_m12_id_max_monnum'] > 0.64875:
            return 0.021980730075585417
        else:
            return -0.00738909916700994


def predict_tree_77(d):
    if d['ir_allmatch_days'] > 30.500000000000004:
        if d['pd_cell_city_level'] > 2.5000000000000004:
            return 0.012363258541101275
        else:
            return -0.0008042965797214282
    else:
        if d['ql_m12_id_max_monnum'] > 0.64875:
            return 0.02124418327926353
        else:
            return -0.007267024718112175


def predict_tree_78(d):
    if d['pd_id_gender'] > 1.0000000180025095e-35:
        if d['als_m3_id_bank_selfnum'] > 1.0000000180025095e-35:
            return -0.018713476015338123
        else:
            if d['pd_id_apply_age'] > 29.500000000000004:
                return 0.011356697020834305
            else:
                return -0.0057698478658053795
    else:
        return -0.006366044921186097


def predict_tree_79(d):
    if d['pd_id_gender'] > 1.0000000180025095e-35:
        if d['als_m3_id_bank_selfnum'] > 1.0000000180025095e-35:
            return -0.018607397799334978
        else:
            return 0.007435482372620445
    else:
        if d['tl_id_t4_nbank_reamt'] > 24.500000000000004:
            return 0.039991979628973086
        else:
            return -0.007524879801248149


def predict_tree_80(d):
    if d['pd_id_gender'] > 1.0000000180025095e-35:
        if d['als_m3_cell_bank_selfnum'] > 1.0000000180025095e-35:
            return -0.01847648476059588
        else:
            if d['pd_id_apply_age'] > 29.500000000000004:
                return 0.01078088274303706
            else:
                return -0.005799936762695788
    else:
        return -0.006139621950972825


def predict_tree_81(d):
    if d['mma_var342'] > 2.5000000000000004:
        return 0.0064580189215016695
    else:
        if d['als_m12_id_caon_allnum'] > 1.0000000180025095e-35:
            if d['als_m3_cell_bank_selfnum'] <= 1.0000000180025095e-35:
                return 0.0315298086348265
            else:
                return 0.000984917042507497
        else:
            return -0.005224612199559


def predict_tree_82(d):
    if d['pd_id_gender'] > 1.0000000180025095e-35:
        if d['pd_cell_city_level'] > 2.5000000000000004:
            return 0.011481814583405258
        else:
            return -0.002473605422862603
    else:
        if d['mma_var342'] > 2.5000000000000004:
            return 0.005647298922194094
        else:
            return -0.010512487987289059


def predict_tree_83(d):
    if d['pd_id_gender'] > 1.0000000180025095e-35:
        if d['pd_cell_city_level'] > 2.5000000000000004:
            return 0.011137840833755831
        else:
            return -0.0024225096165604904
    else:
        if d['mma_var342'] > 2.5000000000000004:
            return 0.005499894294226584
        else:
            return -0.010362271335540602


def predict_tree_84(d):
    if d['pd_id_gender'] > 1.0000000180025095e-35:
        if d['als_m3_id_bank_selfnum'] > 1.0000000180025095e-35:
            return -0.01847641826388399
        else:
            if d['pd_id_city_rent_sort'] <= 301.50000000000006:
                return 0.001164517858339171
            else:
                return 0.014282312384877259
    else:
        return -0.006742519302137484


def predict_tree_85(d):
    if d['tl_id_t4_nbank_reamt'] > 38.50000000000001:
        return 0.038291966042393724
    else:
        if d['pd_id_gender'] > 1.0000000180025095e-35:
            return 0.0025428315617211897
        else:
            if d['mma_var345'] > 5.500000000000001:
                return 0.017593891356875203
            else:
                return -0.010309113246390755


def predict_tree_86(d):
    if d['als_m3_cell_bank_selfnum'] > 1.0000000180025095e-35:
        return -0.01844151070397687
    else:
        if d['alf_ict_lenth_d180_sum'] > 13.516090500000002:
            if d['als_lst_cell_bank_inteday'] <= 261.50000000000006:
                return 0.01904810978833749
            else:
                return -0.00713437718290689
        else:
            return -0.0015160849656690478


def predict_tree_87(d):
    if d['pd_id_apply_age'] > 29.500000000000004:
        if d['als_m3_cell_bank_selfnum'] > 1.0000000180025095e-35:
            return -0.017051628495788805
        else:
            if d['als_m12_cell_bank_selfnum'] > 1.0000000180025095e-35:
                return 0.04993026882371836
            else:
                return 0.00340666359864342
    else:
        return -0.009610232885597186


def predict_tree_88(d):
    if d['pd_id_apply_age'] > 29.500000000000004:
        if d['als_m3_cell_bank_selfnum'] > 1.0000000180025095e-35:
            return -0.016931972030557286
        else:
            if d['ir_allmatch_days'] <= 327.50000000000006:
                return 0.009040211746619032
            else:
                return -0.0005328937540664929
    else:
        return -0.009464927396939854


def predict_tree_89(d):
    if d['pd_id_gender'] > 1.0000000180025095e-35:
        if d['pd_id_city_rent_sort'] <= 301.50000000000006:
            return 0.0008473762615478326
        else:
            return 0.012905790530883388
    else:
        if d['mma_var342'] > 2.5000000000000004:
            return 0.004609372440282596
        else:
            return -0.009817405753329652


def predict_tree(d):
    return predict_tree_0(d) + predict_tree_1(d) + predict_tree_2(d) + predict_tree_3(d) + predict_tree_4(d) + predict_tree_5(d) + predict_tree_6(d) + predict_tree_7(d) + predict_tree_8(d) + predict_tree_9(d) + predict_tree_10(d) + predict_tree_11(d) + predict_tree_12(d) + predict_tree_13(d) + predict_tree_14(d) + predict_tree_15(d) + predict_tree_16(d) + predict_tree_17(d) + predict_tree_18(d) + predict_tree_19(d) + predict_tree_20(d) + predict_tree_21(d) + predict_tree_22(d) + predict_tree_23(d) + predict_tree_24(d) + predict_tree_25(d) + predict_tree_26(d) + predict_tree_27(d) + predict_tree_28(d) + predict_tree_29(d) + predict_tree_30(d) + predict_tree_31(d) + predict_tree_32(d) + predict_tree_33(d) + predict_tree_34(d) + predict_tree_35(d) + predict_tree_36(d) + predict_tree_37(d) + predict_tree_38(d) + predict_tree_39(d) + predict_tree_40(d) + predict_tree_41(d) + predict_tree_42(d) + predict_tree_43(d) + predict_tree_44(d) + predict_tree_45(d) + predict_tree_46(d) + predict_tree_47(d) + predict_tree_48(d) + predict_tree_49(d) + predict_tree_50(d) + predict_tree_51(d) + predict_tree_52(d) + predict_tree_53(d) + predict_tree_54(d) + predict_tree_55(d) + predict_tree_56(d) + predict_tree_57(d) + predict_tree_58(d) + predict_tree_59(d) + predict_tree_60(d) + predict_tree_61(d) + predict_tree_62(d) + predict_tree_63(d) + predict_tree_64(d) + predict_tree_65(d) + predict_tree_66(d) + predict_tree_67(d) + predict_tree_68(d) + predict_tree_69(d) + predict_tree_70(d) + predict_tree_71(d) + predict_tree_72(d) + predict_tree_73(d) + predict_tree_74(d) + predict_tree_75(d) + predict_tree_76(d) + predict_tree_77(d) + predict_tree_78(d) + predict_tree_79(d) + predict_tree_80(d) + predict_tree_81(d) + predict_tree_82(d) + predict_tree_83(d) + predict_tree_84(d) + predict_tree_85(d) + predict_tree_86(d) + predict_tree_87(d) + predict_tree_88(d) + predict_tree_89(d)


def predict(d):
    from math import exp
    return 1.0 / (1.0 + exp(-predict_tree(d)))

